package com.dongdongshop.service;

import com.dongdongshop.pojo.TbContentCategory;
import com.dongdongshop.util.PageBean;

import java.util.List;

public interface ContentCategoryService {
    List<TbContentCategory> getinfo();

    PageBean<TbContentCategory> getAll(Integer number, Integer pageSize, String sname);

    Integer addinfo(TbContentCategory tbContentCategory);

    Integer deleteAll(Long[] ids);

    TbContentCategory toUpdate(Long id);

    Integer updateinfo(TbContentCategory tbContentCategory);
}
